import win32api
import time
import pyautogui

while (True):
    long_position = pyautogui.move(530, 689, 1)#模拟鼠标指针 传送到指定坐标
    long_position = pyautogui.mouseDown(530, 689)#模拟鼠标指针 传送到指定坐标
    time.sleep(1)
    long_position = pyautogui.mouseUp(530, 689)#模拟鼠标指针 传送到指定坐标
    time.sleep(40)